package com.xiang.springcloud.service;

import com.xiang.springcloud.pojo.Dept;

import java.util.List;

public interface DeptService {
    //增加
    public boolean addDept(Dept dept);
    //通过id查询
    public Dept queryDeptById(Long id);
    //查询全部
    public List<Dept> queryAll();
}
